package com.hrpmar.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by 李松松 on 2017/11/14.
 */
@Controller
public class DispatcherController {

    @GetMapping("/{folder}/{page}/index")
    public String forward(@PathVariable("folder") String folder,@PathVariable("page") String page){
        return folder+"/"+page;
    }
}
